import { post } from '../http'

/**
 * @description: 获取车机列表
 * @param data
 * @return Promise
 */
export const getVehicleList = (data) => post({ url: '/carVehicle/getPageList', data })
/**
 * @description: 导出
 * @param data
 * @return Promise
 */
export const vehicleExport = (data) => post({ url: '/carVehicle/exportExcel', data })
/**
 * @description: 导入
 * @param data
 * @return Promise
 */
export const vehicleImport = (data) => post({ url: '/carVehicle/importExcel', data })
/**
 * @description: 详情
 * @param data
 * @return Promise
 */
export const vehicleDetail = (data) => post({ url: '/carVehicle/detail', data })
/**
 * @description: 编辑
 * @param data
 * @return Promise
 */
export const vehicleEdit = (data) => post({ url: '/carVehicle/edit', data })
/**
 * @description: 关联车辆
 * @param data
 * @return Promise
 */
export const vehicleBind = (data) => post({ url: '/carVehicle/associatedVehicle', data })
/**
 * @description: 更换车辆?
 * @param data
 * @return Promise
 */
export const getVehiclesss = (data) => post({ url: '/carVehicle/getPageList', data })
/**
 * @description: 定位
 * @param data
 * @return Promise
 */
export const vehicleGPS = (data) => post({ url: '/carVehicle/getCarGpsOne', data })
/**
 * @description: 处置
 * @param data
 * @return Promise
 */
export const vehicleHandle = (data) => post({ url: '/carVehicle/handle', data })
/**
 * @description: 新增
 * @param data
 * @return Promise
 */
export const vehicleAdd = (data) => post({ url: '/carVehicle/save', data })
/**
 * @description: 供应商（筛选）
 * @param data
 * @return Promise
 */
export const vehicleSupplier = (data) => post({ url: '/supplier/findList', data })
/**
 * @description: 页面枚举
 * @param data
 * @return Promise
 */
export const getEnums = (data) => post({ url: '/carVehicle/getEnums', data })
/**
 * @description: 获取车辆
 * @param data
 * @return Promise
 */
export const getCar = (data) => post({ url: '/carVehicle/getByLicenseNoLike', data })
/**
 * @description: 获取当前用户信息
 * @param data
 * @return Promise
 */
export const findUserInfo = (data) => post({ url: '/user/findUserInfo', data })
/**
 * @description: 获取门店权限下的员工
 * @param data
 * @return Promise
 */
export const getStaff = (data) => post({ url: '/staff/selectStaffByOrgId', data })
